<html>
<head>
<script type="text/javascript" src="../shiro/manager/jquery-1.10.2.min.js"></script>
</head>
<body>
<button>a0</button><button>a1</button><button id="a2">a2</button><button>a3</button><button>a4</button>
</body>
<script type="text/javascript">
var input=$("#a2").next();
input.css("background-color", "gray");

var input=$("#a2").prev();
input.css("background-color", "pink");
</script>
</html>
